<div class="member-login">
	<?php //echo "<h3>".$title."</h3>";?>
	<?php 
        $frm_attr = array('name' => 'frm-login', 'id' => 'frm-login');
    ?>
    <?php echo form_open("MemberLogin/login", $frm_attr); ?>
        <?php
		if ($this->session->flashdata('error')){ 
			echo "<div class='error'>";
			echo $this->session->flashdata('error');
			echo "</div>";
		}
		?>
		<h4>Login</h4>
        <table>
            <tr>
                <td>Username</td>
                <td>
                    <input id="user" type="text" name="username" size="40" />
                </td>
            </tr>
            <tr>
                <td>Password</td>
                <td>
                    <input id="pass" type="password" name="password" size="40" />
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <!-- <input type="button" name="login" value="Login" onclick="loginConfirm()" />-->
                    <input type="submit" class="btn" name="login" value="Login" />
                </td>
            </tr>
        </table>
    <?php echo form_close(); ?>
</div>